package com.sziit.se.highconcurrency.common.exception;

import com.sziit.se.highconcurrency.common.constant.HttpResponseCodeEnums;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class NullDataException extends CustomException{
    /**
     * @param message 查询的数据不存在的提示信息
     */
    public NullDataException(String message) {
        super(HttpResponseCodeEnums.INTERNAL_SERVER_ERROR.getCode(), "查询的【" + message + "】数据不存在！");
    }
}
